package com.chapp.util;

import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

public class Settings {

	private static SharedPreferences prefs;

	public static int getDistancePref(Context context) {
		prefs = PreferenceManager.getDefaultSharedPreferences(context);
		return Integer.parseInt(prefs.getString("distance", "100"));
	}
}
